﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;

public class PosHelper  {
    [MenuItem("Tools/PosHelper/diff Z")]
    public static void DiffZ()
    {
        GameObject[] go = Selection.gameObjects;
        if (go.Length==2)
        {
            Debug.Log("diff z:"+(go[0].transform.position- go[1].transform.position));
            
        }
    }

}
